package com.joysuch.wwyt.api.config.service;

import com.joysuch.wwyt.api.config.entity.DataAccessUrl;
import com.joysuch.wwyt.api.config.repository.DataAccessUrlDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author ZhangDong
 * @Date 2020/8/24 11:38
 */
@Service
@Slf4j
public class DataAccessUrlServiceImpl implements DataAccessUrlService {

    @Autowired
    private DataAccessUrlDao dao;

    @Override
    public List<DataAccessUrl> findAllUrl() {
        return dao.findAll();
    }

}
